Three-dimensional trigonometry problems tutorial